Skip to content

Add fluid container block#9

Merged
CoderJoeW merged 4 commits intomainfrom
feature/fluid-container
Mar 6, 2026
Merged

Add fluid container block#9
CoderJoeW merged 4 commits intomainfrom
feature/fluid-container

Conversation

@CoderJoeW
Copy link
Copy Markdown
Owner

Summary

  • Add FluidContainer block with 10-unit capacity, directional input (back) / output (front), fluid type locking, and 4 visual fill levels (empty, low, medium, full)
  • Pipes and containers can pull from the container's front face; container pulls from pipes, pumps, or other containers behind it
  • 43 CHORUSBLOCK Nexo entries (transparent), 28 textures with distinct fill levels for water/lava, crafting recipe (4 iron + 4 glass + 1 bucket)
  • Full persistence support (storedAmount saved/restored) and dialog showing "Water (7/10)" style amount info
  • 37 new tests covering storage, capacity, type rejection, directional pull, visual states, and persistence

FluidContainer extends FluidBlock with multi-unit storage (up to 10),
directional input/output, type locking, and 4 visual fill levels
(empty, low, medium, full). Integrates with pipes and pumps for
pulling and dispensing fluid.
28 textures: glass tank with metal frame showing empty, low, medium,
and full states for both water and lava, across front/back/side/top faces.
42 directional/fill-state variants plus 1 base inventory item.
Recipe: 4 iron ingots + 4 glass + 1 bucket.
@CoderJoeW CoderJoeW merged commit 3db2a35 into main Mar 6, 2026
1 check passed
@CoderJoeW CoderJoeW deleted the feature/fluid-container branch March 15, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant